package com.hl.algor_data_struct.datastrcct;

import java.util.BitSet;

public class BitMapTest {

    public static void main(String[] args) {
        System.out.println();


        BitSet bitSet=new BitSet();

       // int h="hailongffffffffffffffffffffffff".hashCode();

        int i=1;
        while(i<100){
            if(i%10==0){
                bitSet.set(i);
            }

            i++;
        }

        System.out.println(bitSet.get(1));
        System.out.println(bitSet.get(10));
        System.out.println(bitSet.get(100));






    }

}
